<?php
//把config下的所有文件都包含进去.
$currentfile = __FILE__;
$dir = substr($currentfile,0,strrpos($currentfile,"\\"));
if (is_dir($dir)) {
    if ($dh = opendir($dir)) {
        while (($file = readdir($dh)) !== false) {
        	if (!ereg("^\.",$file))
            	require_once($file);
        }
        closedir($dh);
    }
}
?>